<nb-card style="overflow-x:auto;overflow-y:hidden">
  <nb-card-header>
    课表列表
  </nb-card-header>

  <nb-card-body>
    <button nbButton hero status="info" style="margin: 0.5rem;" (click)="ExportCourse()" icon="refresh">导出课表</button>
    <button nbButton hero status="info" style="margin: 0.5rem;" (click)="ExportClassesCourse()" icon="refresh">导出班级课表</button>
    <button nbButton hero status="info" style="margin: 0.5rem;" (click)="ExportTeacherCourse()" icon="refresh">导出老师课表</button>

    <div [ngStyle]="{'height':screenheight+'px','overflow-y':'auto'}">
      <ng2-smart-table #samrtTable [settings]="settings" [source]="source" (cellSelect)="cellSelect($event)" (create)="onSave($event)"
        (delete)="onDelete($event)">
      </ng2-smart-table>
    </div>
  </nb-card-body>
</nb-card>